package com.ai.bitcoin.jpa.service.impl;

import com.ai.bitcoin.jpa.dao.BccRankHisDao;
import com.ai.bitcoin.jpa.entity.BccRankHis;
import com.ai.bitcoin.jpa.service.BccRankHisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Jason
 * @date 2018/3/29
 **/
@Service
public class BccRankHisServiceImpl implements BccRankHisService {
    @Autowired
    BccRankHisDao dao;


    @Override
    @Transactional
    public BccRankHis save(BccRankHis bccRankHis) {
        return dao.save(bccRankHis);
    }

}
